<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('房屋详细')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="row">
        <div class="col-sm-12">
            <a class="btn btn-warning" href="javascript:void(0)" onclick="tableStyle()">
                <i class="fa fa-search"></i> 表格样式
            </a>
        </div>
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 实有房屋
                </div>

                <div class="panel-body">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">地址名称：</label>
                            <div class="form-control-static" th:text="${house.dzmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">使用形式：</label>
                            <div class="form-control-static" th:text="${@dict.getValueByCode('SQJW_SYXS',house.syxs)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋用途：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_FWYT',house.fwytdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋类别：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_FWLB',house.fwlbdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋性质：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_FWXZ',house.fwcqxzzldm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋间数：</label>
                            <div class="form-control-static" th:text="${house.fwjs}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋面积：</label>
                            <div class="form-control-static" th:text="${house.fwmjMjpfm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋产权证号：</label>
                            <div class="form-control-static" th:text="${house.fwcqzh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主公民身份号码：</label>
                            <div class="form-control-static" th:text="${house.fzGmsfhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主姓名：</label>
                            <div class="form-control-static" th:text="${house.fzXm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主证件种类：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_ZJZL2',house.fzCyzjdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主证件号码：</label>
                            <div class="form-control-static" th:text="${house.fzZjhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主外文姓：</label>
                            <div class="form-control-static" th:text="${house.fzWwx}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主外文名：</label>
                            <div class="form-control-static" th:text="${house.fzWwm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房主联系电话：</label>
                            <div class="form-control-static" th:text="${house.fzLxdh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人公民身份号码：</label>
                            <div class="form-control-static" th:text="${house.tgrGmsfhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人姓名：</label>
                            <div class="form-control-static" th:text="${house.tgrXm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人证件种类：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SQJW_ZJZL2',house.tgrCyzjdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人证件号码：</label>
                            <div class="form-control-static" th:text="${house.tgrZjhm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人外文姓：</label>
                            <div class="form-control-static" th:text="${house.tgrWwx}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人外文名：</label>
                            <div class="form-control-static" th:text="${house.tgrWwm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">托管人联系电话：</label>
                            <div class="form-control-static" th:text="${house.tgrLxdh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">与房主关系：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('T_PEO_RELATION',house.tgrYfzgxRygxdm)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋所属单位：</label>
                            <div class="form-control-static" th:text="${house.fwssdwDwmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记单位：</label>
                            <div class="form-control-static" th:text="${house.djdwGajgmc}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记人账号：</label>
                            <div class="form-control-static" th:text="${house.djrZh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记人姓名：</label>
                            <div class="form-control-static" th:text="${house.djrXm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登记时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(house.djsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">更新账户：</label>
                            <div class="form-control-static" th:text="${house.gxrZh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">更新部门：</label>
                            <div class="form-control-static" th:text="${house.gxbm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录部门：</label>
                            <div class="form-control-static" th:text="${house.hlbm}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(house.hlsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录人：</label>
                            <div class="form-control-static" th:text="${house.hlr}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">核录标识：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('YBSS_HLBZ',house.hlbz)}">
                            </div>
                        </div>
						<div class="form-group">
							<label class="col-sm-2 control-label">数据来源：</label>
							<div class="form-control-static" th:text="${@dict.getValueByCode('YBSS_SJLY',house.sjly)}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">中心点横坐标：</label>
							<div class="form-control-static" th:text="${house.zxdhzb}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">中心点纵坐标：</label>
							<div class="form-control-static" th:text="${house.zxdzzb}">
							</div>
						</div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">标签：</label>
                            <div class="form-control-static"
                                 th:text="${@label.getParamValue(house.bq)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">互联网审核人：</label>
                            <div class="form-control-static" th:text="${house.hlwshr}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">互联网审核时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(house.hlwshsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">注销时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(house.zxsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">注销账号：</label>
                            <div class="form-control-static" th:text="${house.zxzh}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">审批人：</label>
                            <div class="form-control-static" th:text="${house.spr}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">审批时间：</label>
                            <div class="form-control-static" th:text="${#dates.format(house.spsj,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">注销原因：</label>
                            <div class="form-control-static" th:text="${house.zxyy}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否重点：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SFZD_DQJC',house.sfzd)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">是否定期检查：</label>
                            <div class="form-control-static"
                                 th:text="${@dict.getValueByCode('SFZD_DQJC',house.sfdqjc)}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">检查周期(天)：</label>
                            <div class="form-control-static" th:text="${house.jczq}">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div th:if="${populations} ne null" class="row">
        <div class="col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">
                    <i class="fa fa-info-circle"></i> 实有人口
                </div>

                <div class="panel-body">
                    <div th:each="population : ${populations}" class="col-sm-4">
                        <div class="panel panel-primary">
                            <div class="panel-heading" th:text="${population.xm}"></div>
                            <div class="panel-body">
                                <div style="text-align: center;">
                                    <img th:src="(${population.photo} == null) ? @{/res/img/profile.jpg} : '/sys/common/view/' + @{${population.photo}}"
                                         style="height: 175px; width: auto;" alt="Population Image">
                                </div>

                                <!--<p>头像：[[${population.photo}]]</p>
                                <p>身份号码：[[${population.gmsfhm}]]</p>
                                <p>出生日期：[[${#dates.format(population.csrq, 'yyyy-MM-dd')}]]</p>
                                <p>户籍地：[[${#strings.defaultString(population.hjd, '-')}]]</p>
                                <p>标签：[[${#strings.defaultString(population.bq, '-')}]]</p>-->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var dzbm =[[${house.dzbm}]];
    function tableStyle() {
        var options = {
            title: table.options.modalName + "信息表格样式",
            width: "600",
            height: "800",
            url: $.common.setURL("/control/house/tableDetail/" + dzbm),
            skin: 'layui-layer-gray',
            btn: ['关闭'],
            yes: function (index, layero) {
                layer.close(index);
            }
        };
        $.modal.openOptions(options);
    }
</script>
</body>
</html>
